func net.lookupProtocol

2 uses

	net (current package)
		dial.go#L250: 			proto, err = lookupProtocol(ctx, protostr)
		lookup_unix.go#L51: func lookupProtocol(_ context.Context, name string) (int, error) {